package com.example.sfm.pojo.dto;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

@Data
@Schema(description = "学生档案导入数据传输对象")
public class StudentRecordsImportDto {

    @ExcelProperty("学号")
    @Schema(description = "学号")
    private String studentNumber;

    @ExcelProperty("性别")
    @Schema(description = "性别")
    private Integer gender;

    @ExcelProperty("出生日期（yyyy-MM-dd）")
    @DateTimeFormat("yyyy-MM-dd")
    @Schema(description = "出生日期")
    private LocalDate birthDate;

    @ExcelProperty("国籍")
    @Schema(description = "国籍")
    private String nationality;

    @ExcelProperty("政治面貌")
    @Schema(description = "政治面貌")
    private String politicalStatus;

    @ExcelProperty("入学日期（yyyy-MM-dd）")
    @DateTimeFormat("yyyy-MM-dd")
    @Schema(description = "入学日期")
    private LocalDate admissionDate;

    @ExcelProperty("所属学院")
    @Schema(description = "所属学院")
    private String department;

    @ExcelProperty("专业")
    @Schema(description = "专业")
    private String major;

    @ExcelProperty("班级")
    @Schema(description = "班级")
    private String className;

    @ExcelProperty("家庭地址")
    @Schema(description = "家庭地址")
    private String address;

    @ExcelProperty("监护人姓名")
    @Schema(description = "监护人姓名")
    private String guardianName;

    @ExcelProperty("监护人电话")
    @Schema(description = "监护人电话")
    private String guardianPhone;
}

